<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<?php
require_once './model/works.php';
$md_works = new Works();
$id_work = $_GET['id'];

$params = array(
    'id_works' => $id_work,

);
$work = $md_works->select($params);
?>
<table border="1px">

    <tr>
        <td>Id :</td>
        <td>name :</td>
        <td>description :</td>
        <td>Image :</td>
    </tr>

    <tr>
        <td>
            <?php echo $work[0]['id'] ?>
        </td>
        <td>
            <?php echo $work[0]['name'] ?>
        </td>
        
       
        <td>
            <?php echo $work[0]['description'] ?>
        </td>

<td>
            <img src="<?php echo $work[0]['image'] ?>" >
        </td>
 
    </tr>




</table>